#ifndef __HOTKEY_EDITOR
#define __HOTKEY_EDITOR

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BkList.h"
#include "TB97Ctls.hpp"
#include <ComCtrls.hpp>

class THotkeyEditForm : public TForm {
  __published:
        TToolbarButton97 *ToolbarButton971;
        HBkList *lstKeys;
        THeaderControl *header;
        TLabel *Label1;
        TLabel *Label2;
        HBkList *lstActions;
        TToolbarButton97 *btnAdd;
        TToolbarButton97 *btnDel;
        THotKey *edtKey;
        TToolbarButton97 *btnUp;
        TToolbarButton97 *btnDn;
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall lstActionsClick(TObject *Sender);
        void __fastcall lstKeysClick(TObject *Sender);
        bool __fastcall lstActionsDrawItemSection(TObject *Sender,
          TCanvas *dc, int Index, THeaderSection *Section,
          const MyRect &Rect, const TOwnerDrawState &State);
        bool __fastcall lstKeysDrawItem(TObject *Sender, TCanvas *dc,
          int Index, const MyRect &Rect, const TOwnerDrawState &State);
        void __fastcall btnAddClick(TObject *Sender);
        void __fastcall btnDelClick(TObject *Sender);
        void __fastcall btnUpClick(TObject *Sender);
        void __fastcall btnDnClick(TObject *Sender);
  private:
    PMVHotkeyArray HotKeys;
  public:
    __fastcall THotkeyEditForm(TComponent* Owner,PMVHotkeyArray hk);
};

#endif
